Android Background Audio
Type
library
Summary
This library provides an API for playing background audio on Android
Description
Use this library to start and control a background audio service that will continue playing when the current application is suspended.
Compatibility and Support
OS
android
Children Properties
Message
Name | Summary | Syntax |
---|---|---|
audioFinishedPlayingInBackground | Sent when the audio has finished playing | audioFinishedPlayingInBackground |
Handler
Name | Summary | Syntax |
---|---|---|
androidStartAudioPlayingInBackground | Start playing audio in the background. | androidStartAudioPlayingInBackground(<pAudio>) |
androidIsAudioPlayingInBackground | Whether there is currently any audio playing in the background | androidIsAudioPlayingInBackground() |
androidGetDurationOfAudioPlayingInBackground | Gets the duration of the currently playing audio in milliseconds. | androidGetDurationOfAudioPlayingInBackground() |
androidPauseAudioPlayingInBackground | Pause the currently playing background audio | androidPauseAudioPlayingInBackground() |
androidGetCurrentTimeOfAudioPlayingInBackground | Gets the current time of the playing audio in milliseconds. If no audio is playing in the background, then 0 is returned. | androidGetCurrentTimeOfAudioPlayingInBackground() |
androidSetCurrentTimeOfAudioPlayingInBackground | Sets the current time of the playing audio in milliseconds. This command has no effect if there is no audio playing in the background. | androidSetCurrentTimeOfAudioPlayingInBackground(<pMilliseconds>) |
androidResumeAudioPlayingInBackground | Resume the currently paused background audio | androidResumeAudioPlayingInBackground() |
androidStopAudioPlayingInBackground | Stop playing audio in the background. | androidStopAudioPlayingInBackground() |